﻿var printHelper = {
    showPreview: function(name, baseUrl, localImagePath) {
        var url = baseUrl + "PrintPreview.html";
        var previewWnd = window.open(url, name);
        var printImg = previewWnd.document.getElementById("printImg");
        if (printImg) {
            printImg.src = localImagePath;
        }
    }
}